﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace messageboard.model
{
    public class User
    {
        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private string pw;

        public string Pw
        {
            get { return pw; }
            set { pw = value; }
        }
        private string email;

        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        private int age;

        public int Age
        {
            get { return age; }
            set { age = value; }
        }
        private string sex;

        public string Sex
        {
            get { return sex; }
            set { sex = value; }
        }
        private string face;

        public string Face
        {
            get { return face; }
            set { face = value; }
        }
        public User() 
        { 
        }
        public User(int id,string name,string pw,string email,int age,string sex,string face)
        {
            this.id = id;
            this.name = name;
            this.pw = pw;
            this.email = email;
            this.age = age;
            this.sex = sex;
            this.face = face;
        }
    }
}